package com.imelite.qyh.service;

import com.imelite.qyh.dao.OrgDepMapper;
import com.imelite.qyh.model.OrgDep;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrgDepService {

    @Autowired
    private OrgDepMapper orgDepMapper;

    public List<OrgDep> selectByCenter(){
        return orgDepMapper.selectByCenter();
    }

    public OrgDep selectByPrimaryKey(String id){
        return orgDepMapper.selectByPrimaryKey(id);
    }
}
